#pragma once
#include <cstdint>
#include <vector>
#include "EventEngine.h"
#include "Logger.h"

using namespace xncc::user;
using namespace xncc::types;

extern xncc::Logger timer_log;
#define TIMER_LOG (timer_log)

class TestEngine : public EventEngine
{
  public:
    TestEngine();
    ~TestEngine() override = default;
    void init() override;

    void printTimeNow();
    void printTimer2Now();

  private:
    std::vector<xncc::types::timer_id_t> timerList;
    std::vector<int64_t>                 costs_;
};